import './public-path'
import { createApp } from 'vue'
import App from './App.vue'

export async function bootstrap() {
  console.log('child vue app started.')
}

export async function mount(props) {
  console.log('mount', props)
  createApp(App).mount('#app')
}

export async function unmount(props) {
  console.log('unmount', props)
}

export async function update(props) {
  console.log('update', props)
}

if (!window.__POWERED_BY_QIANKUN__) {
  createApp(App).mount('#app')
}
